package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.ProductADV;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductADVMapper {
    int deleteByPrimaryKey(Integer advId);

    int insert(ProductADV record);

    int insertSelective(ProductADV record);
    //查询商品广告图
    ProductADV selectByPrimaryKey(Integer advId);

    int updateByPrimaryKeySelective(ProductADV record);

    int updateByPrimaryKey(ProductADV record);
    //按照广告标志查询
   List<ProductADV> selectProductADVBySign(String advSign);

}